package com.cgg.stock.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("tb_user_repository")
public class HoldStock {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String stockId;
    private Long userAccount;
    private Integer totalNum;
    private Integer availableNum;
    private BigDecimal tradePrice;
    private Date tradeTime;
    private Integer status;
}
